projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8720976
)
Send a notification when a GtkEntry icon's tooltip text changes
author
Mike Gorse
<mgorse@suse.com>
Sun, 11 Nov 2012 17:01:57 +0000
(11:01 -0600)
committer
Mike Gorse
<mgorse@suse.com>
Mon, 12 Nov 2012 15:15:46 +0000
(09:15 -0600)
gtk/gtkentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtkentry.c
b/gtk/gtkentry.c
index 0c637de275ae308f1ec224bf4cbf461076e3509a..4f020b72a0e717c6623c7881cadef9a0aa025b83 100644
(file)
--- a/
gtk/gtkentry.c
+++ b/
gtk/gtkentry.c
@@
-8807,6
+8807,9
@@
gtk_entry_set_icon_tooltip_text (GtkEntry *entry,
icon_info->tooltip = tooltip ? g_markup_escape_text (tooltip, -1) : NULL;
ensure_has_tooltip (entry);
+
+ g_object_notify (G_OBJECT (entry),
+ icon_pos == GTK_ENTRY_ICON_PRIMARY ? "primary-icon-tooltip-text" : "secondary-icon-tooltip-text");
}
/**